package com.wisezone.workflow.bean.po;

import java.util.ArrayList;
import java.util.List;

/**
 * 任务节点模块 2009-12-29
 * @author tss
 *
 */
public class NodeModule {

	/**
	 * ID
	 */
	private String id;
	
	/**
	 * 节点名称
	 */
	private String name;
	
	/**
	 * 节点类型
	 */
	private String category;
	
	/**
	 * 任务类型
	 */
	private String taskCategory;
	
	/**
	 * 节点位置
	 */
	private String position;
	
	/**
	 * 链接结合
	 */
	private List<TransitionModule> transitionModules = new ArrayList<TransitionModule>();
	
	/**
	 * 变量集合
	 */
	private List<VariableModule> variableModules = new ArrayList<VariableModule>();

    
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

    
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<TransitionModule> getTransitionModules() {
		return transitionModules;
	}

	public void addTransitionModule(TransitionModule transitionModule) {
		this.transitionModules.add(transitionModule);
	}

    
	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public void setTransitionModules(List<TransitionModule> transitionModules) {
		this.transitionModules = transitionModules;
	}

	public List<VariableModule> getVariableModules() {
		return variableModules;
	}

	public void setVariableModules(List<VariableModule> variableModules) {
		this.variableModules = variableModules;
	}
	
	public void addVariableModule(VariableModule variableModule) {
		this.variableModules.add(variableModule);
	}

	public String getTaskCategory() {
		return taskCategory;
	}

	public void setTaskCategory(String taskCategory) {
		this.taskCategory = taskCategory;
	}
    
	
    	
	
	
	
	
	
}
